#pragma once
#ifndef _CARD_INTERACTION_SOUND_MANAGER_H_
#define _CARD_INTERACTION_SOUND_MANAGER_H_
#include "singleton.h"
#include <vector>
#include <QSound>

class SoundManager:public Singleton<SoundManager>
{
public:
	enum SoundResource
	{
		//music enum
		BackgroundMusic,

		BirdNormalMusic,
		BirdTouchEagleOrWallMusic,
		BirdWinMusic,
		BirdLoseMusic,

		EagleNormalMusic,
		EagleWinMusic,
		EagleLoseMusic,
		//music res end
		MusicTotalCount
	};
	SoundManager();
	~SoundManager();
	void Init();
	void Play(SoundResource s);
	void Stop(SoundResource s);
private:
	
	std::string  mResPath[MusicTotalCount];
	std::vector<QSound*>  mAudioList;
};
#endif